package com.venus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 咨询师表 consultant
 * </p>
 *
 * @author Venus
 * @since 2020-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Consultant extends Model<Consultant> {

    private static final long serialVersionUID = 1L;

    /**
     * 咨询师表id
     */
    @TableId(value = "con_id", type = IdType.AUTO)
    private Integer conId;

    /**
     * 咨询师id
     */
    private Integer userId;

    /**
     * 咨询师姓名
     */
    private String userName;

    /**
     * 是否分配
     */
    private String isOpen;

    /**
     * 权重
     */
    private Integer conWeight;

    /**
     * 字符串
     */
    private String string0;

    /**
     * 数字
     */
    private Integer int0;


    @Override
    protected Serializable pkVal() {
        return this.conId;
    }

}
